package com.ruoyi.base.domain;

import com.ruoyi.pwk.domain.BusPwkRhoutfall;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 断面和入河排口关联关系 （在用）对象 BUS_WATER_SEGMENTORRHOUTFALL
 * 
 * @author maliang
 * @date 2025-07-27
 */
public class BusWaterSegmentorrhoutfall extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 断面名称 */
    @Excel(name = "断面名称")
    private String segmentname;

    /** 是否手工监测 */
    @Excel(name = "是否手工监测")
    private String ismanual;

    /** 是否手工监测 */
    @Excel(name = "是否自动监测")
    private String isauto;

    /** 断面ID */
    @Excel(name = "断面ID")
    private String segmentid;

    /** 入河排口名称 */
    @Excel(name = "入河排口名称")
    private String rhoutfallname;

    /** 入河排口ID */
        @Excel(name = "入河排口ID")
    private String rhoutfallid;

    /** 上下游关系 */
    @Excel(name = "上下游关系")
    private String upstreamordownstream;

    /** 描述 */
    @Excel(name = "描述")
    private String describe;

    /** 污染源ID */
    @Excel(name = "污染源ID")
    private String pollutionsourceid;

    private BusWaterSegment waterSegment;

    private BusPwkRhoutfall pwkRhoutfall;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setSegmentname(String segmentname) 
    {
        this.segmentname = segmentname;
    }

    public String getSegmentname() 
    {
        return segmentname;
    }

    public void setSegmentid(String segmentid) 
    {
        this.segmentid = segmentid;
    }

    public String getSegmentid() 
    {
        return segmentid;
    }

    public void setRhoutfallname(String rhoutfallname) 
    {
        this.rhoutfallname = rhoutfallname;
    }

    public String getRhoutfallname() 
    {
        return rhoutfallname;
    }

    public void setRhoutfallid(String rhoutfallid) 
    {
        this.rhoutfallid = rhoutfallid;
    }

    public String getRhoutfallid() 
    {
        return rhoutfallid;
    }

    public void setUpstreamordownstream(String upstreamordownstream) 
    {
        this.upstreamordownstream = upstreamordownstream;
    }

    public String getUpstreamordownstream() 
    {
        return upstreamordownstream;
    }

    public void setDescribe(String describe) 
    {
        this.describe = describe;
    }

    public String getDescribe() 
    {
        return describe;
    }

    public void setPollutionsourceid(String pollutionsourceid) 
    {
        this.pollutionsourceid = pollutionsourceid;
    }

    public String getPollutionsourceid() 
    {
        return pollutionsourceid;
    }

    public String getIsmanual() {
        return ismanual;
    }

    public void setIsmanual(String ismanual) {
        this.ismanual = ismanual;
    }

    public String getIsauto() {
        return isauto;
    }

    public void setIsauto(String isauto) {
        this.isauto = isauto;
    }

    public BusWaterSegment getWaterSegment() {
        return waterSegment;
    }

    public void setWaterSegment(BusWaterSegment waterSegment) {
        this.waterSegment = waterSegment;
    }

    public BusPwkRhoutfall getPwkRhoutfall() {
        return pwkRhoutfall;
    }

    public void setPwkRhoutfall(BusPwkRhoutfall pwkRhoutfall) {
        this.pwkRhoutfall = pwkRhoutfall;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("segmentname", getSegmentname())
            .append("segmentid", getSegmentid())
            .append("rhoutfallname", getRhoutfallname())
            .append("rhoutfallid", getRhoutfallid())
            .append("upstreamordownstream", getUpstreamordownstream())
            .append("describe", getDescribe())
            .append("pollutionsourceid", getPollutionsourceid())
            .toString();
    }
}
